package com.simple.proxy.dynamic.cglib;

import net.sf.cglib.core.DebuggingClassWriter;

public class CglibProxyClient {
    public static void main(String[] args) {
        System.setProperty(DebuggingClassWriter.DEBUG_LOCATION_PROPERTY, "D:\\chat\\md\\代理设计模式\\code\\simple-proxy");
        XiaoHei xiaoHei = CglibProxyUtil.getCglibProxy(new XiaoHei());
        xiaoHei.buyTicket();
    }
}
